package com.clement.spring.study.listener;

import com.clement.spring.study.event.BlackListEvent;
import org.springframework.context.ApplicationListener;

/**
 * Using the xml based way to init the listener
 * Created by Clement on 2017/2/28.
 */
public class BlackListNotifier implements ApplicationListener<BlackListEvent> {
    private String notificationAddress;

    public void setNotificationAddress(String notificationAddress) {
        this.notificationAddress = notificationAddress;
    }

    @Override
    public void onApplicationEvent(BlackListEvent event) {

    }
}
